package com.last1mile.service;

import java.util.List;

import com.last1mile.model.City;
import com.last1mile.model.District;
import com.last1mile.model.State;

public interface AreaService {

    /**
     * 查询中国的所属省州
     * 
     * @return
     */
    public List<State> queryStatesByCountryId(String coutryId);

    /**
     * 根据省州ID查询所属城市
     * 
     * @param stateId
     * @return
     */
    public List<City> queryCitysByStateId(String stateId);

    /**
     * 根据城市ID查询所属区
     * 
     * @param cityId
     * @return
     */
    public List<District> queryDistrictsByCityId(String cityId);
}
